import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    redirect: '/ScreenPage',
  },
  // {
  //   path: '/home',
  //   component: () => import('../views/Home'),
  // },
  {
    path: '/ScreenPage',
    component: () => import('../views/ScreenPage'),
  },
  // {
  //   name: 'sellerPage',
  //   path: '/sellerPage',
  //   component: () => import('../views/sellerPage.vue'),
  // },
  // {
  //   name: 'trendPage',
  //   path: '/trendPage',
  //   component: () => import('../views/trendPage'),
  // },
  // {
  //   name: 'mapPage',
  //   path: '/mapPage',
  //   component: () => import('../views/mapPage'),
  // },
  {
    name: 'stockPage',
    path: '/stockPage',
    component: () => import('../views/stockPage'),
  },
  // {
  //   name: 'rankPage',
  //   path: '/rankPage',
  //   component: () => import('../views/rankPage'),
  // },
  // {
  //   name: 'hotPage',
  //   path: '/hotPage',
  //   component: () => import('../views/hotPage'),
  // },
]

const router = new VueRouter({
  routes,
})

export default router
